home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 003a / asmlib35.zip / ASMLIB.DOC < prev    next >
Text File  |  1993-01-21  |  38KB  |  621 lines

  1.                    ASMLIB 3.5 Programmer's Toolkit
  2.                tools for assembly-language programming
  3.      Copyright (C) 1991 - 1993 Douglas Herr - All rights reserved
  4.  
  5.  
  6. What is ASMLIB?
  7.  
  8. ASMLIB is a library of assembly-language subroutines, linkable with
  9. your .OBJ code.  ASMLIB provides many tools to the assembly-language
  10. programmer which eliminate much of the tedious and repetetive coding
  11. that assembly-language programming is infamous for.
  12.  
  13. DISTRIBUTION AND REGISTRATION
  14.  
  15. ASMLIB is user-supported software, NOT public domain software.
  16. Possession of the ASMLIB files entitles you to evaluate this product.
  17. If, after evaluation, you choose to use ASMLIB subroutines in your
  18. programs, you are expected to register with the library's author.
  19. By registering, you will be entitled to use the latest version of ASMLIB,
  20. you will be entitled to low-cost upgrades, you will have confidence that
  21. the version of ASMLIB you are using has not been altered by others, and
  22. you will be supporting my programming efforts.
  23.  
  24. Two levels of registration are available: For $25, you will recieve  the
  25. most recent version of ASMLIB (tiny, small, medium and huge models); for
  26. $50 you will receive full source code to the ASMLIB subroutines along with
  27. the assembled libraries.  If you first register at the $25 level, you may
  28. register for ASMLIB source code at any time for $25.  Upgrades for either
  29. level of registration are $10.
  30.  
  31. Register by sending the registration fee to:
  32.  
  33.    Douglas Herr
  34.    P. O. Box 207
  35.    Sacramento, CA  95812
  36.    U.S.A.
  37.  
  38.    Telephone (916) 721-8762
  39.    CompuServe 71247,3542
  40.  
  41. Please specify either 5 1/4 or 3 1/2 inch disks.  Bug reports (if any)
  42. should be sent to the same address.  If you wish to contact me by
  43. telephone, please call after 8:00 PM Pacific time so I can get my kids
  44. in bed.
  45.  
  46. Registration is a LICENSE fee, not a purchase of ASMLIB.  Registered users
  47. may use ASMLIB or modified subroutines based on ASMLIB source code in their
  48. own programs.  Registered users may distribute programs using ASMLIB
  49. subroutines without royalty payments.
  50.  
  51. ASMLIB object files, ASMLIB source code (unmodified or modified) and the
  52. ASMLIB library and documentation remain the property of Douglas Herr.
  53. ASMLIB source code, modified or unmodified, may not be re-distributed.
  54.  
  55. The ASMLIB3 shareware package includes these files:
  56.  
  57. ASMLIB.LIB      the ASMLIB medium model library
  58. ASMLIB.DOC      this introductory file
  59. DATA.DOC        documentation for string and integer data manipulation
  60. DISK.DOC        documentation for disk & file subroutines
  61. EMSXMS.DOC      documentation for EMS and XMS subroutines
  62. FLOAT.DOC       documentation for floating-point subroutines
  63. GRAPHICS.DOC    documentation for ASMLIB graphics
  64. INPUT.DOC       documentation for keyboard input subroutines
  65. MODE.DOC        ASMLIB screen mode subroutines
  66. MULTIWIN.DOC    documentation for text-mode multi-window subroutines
  67. SOLVE.DOC       documentation for ASMLIB mathematical solutions
  68. SYSTEM.DOC      documentation for subroutines which determine PC status
  69. TEXT.DOC        documentation for text-mode video subroutines
  70. STARTUP.ASM     sample startup code
  71. ASM.INC         medium model INCLUDE file for STARTUP.ASM
  72. ASMDEMO.ZIP     archive of simple ASMLIB demonstration program
  73.  
  74. These files may be copied and distributed freely provided that all the
  75. above files are distributed together in unmodified or archived form
  76. and provided that distribution charges are less than $10.
  77.  
  78.  
  79. LIMITED LIABILITY
  80.  
  81. Since I am unable to supervise all uses of ASMLIB, I cannot be held
  82. responsible for any damages, either direct or incidental, resulting
  83. from the use or abuse of ASMLIB.  I have used ASMLIB subroutines on
  84. a wide variety of equipment and have found the library to be highly
  85. compatible with common PC equipment, but you must use this library at
  86. your own risk.  Try it before you buy it.
  87.  
  88.  
  89. COMPATIBILITY
  90.  
  91. ASMLIB subroutines are intended for IBM PC, XT, AT, PS/2, and compatible
  92. equipment in real mode with PC-DOS or MS-DOS operating systems.  I cannot
  93. provide support for use of ASMLIB on other equipment or with other operating
  94. systems.
  95.  
  96.  
  97. ABBREVIATIONS for video boards
  98.  
  99. MDA   IBM-standard Monochrome Display Adapter
  100. CGA   IBM-standard Color Graphics Adapter (ugh!)
  101. MCGA  IBM-standard Multi-color Graphics Array
  102. EGA   IBM-standard Enhanced Graphics Adapter
  103. VGA   IBM-standard Video Graphics Array
  104. SVGA  VGA equipment with additional capabilities
  105. ATT   ATT 6300 and compatible Olivetti
  106. HGC   Hercules Graphics Card and compatibles
  107. HGC+  Hercules Graphics Card Plus
  108. InC   Hercules InColor Card
  109.  
  110. OTHER ABBREVIATIONS
  111.  
  112. CF = Carry Flag
  113. ZF = Zero Flag
  114. SF = Sign Flag
  115.  
  116.  
  117. ASSUMPTIONS
  118.  
  119. Unless otherwise stated, ASMLIB subroutines assume that:
  120.  
  121. 1) All strings are terminated with a NUL character.
  122.  
  123. 2) Subroutines with names including '$' trash registers, and are
  124.    intended primarily for ASMLIB's internal use.  All '$' subroutines
  125.    require a near call.  Documentation for '$' subroutines is in
  126.    SOURCE.DOC, provided to registered ASMLIB programmers.
  127.  
  128. 3) ASMLIB subroutines without '$' in the name require a far call, and
  129.    are compatible with object files assembled with the
  130.  
  131.    .model medium
  132.  
  133.    directive.  Subroutines in ASMSMALL.LIB, provided upon registration,
  134.    require a near call, and are compatible with object code assembled with
  135.    the
  136.  
  137.    .model small
  138.  
  139.    directive.  Subroutines in ASMTINY.LIB, provided to registered
  140.    programmers, also require near calls and are intended for development
  141.    of .COM format programs.  ASMTINY is compatile with object code assembled
  142.    with the TASM
  143.  
  144.    .model tiny
  145.  
  146.    directive.  MASM users may use the TINY.INC include file to achieve the
  147.    same results.  Subroutines in ASMHUGE.LIB, also provided upon
  148.    registration, includes support for data blocks > 64k.  Support
  149.    for huge data is indicated in the description of each subroutine.
  150.  
  151.    Aside from the MODEL.INC include file and parameters as required for
  152.    HUGE model programming, ASMLIB source code does not need any alteration
  153.    when changing memory models.  All ASMLIB source code is compatible with
  154.    MASM 5.0, MASM 5.1 and TASM 2.01.
  155.  
  156. 4) ASMLIB data types are:
  157.  
  158.    chr   1 byte
  159.    str   character string, normally terminated with ASCII 0 (NUL)
  160.    I2    2-byte signed integer
  161.    U2    2-byte unsigned integer
  162.    I4    4-byte signed integer
  163.    U4    4-byte unsigned integer
  164.    F4    4-byte floating point value, IEEE format
  165.    F8    8-byte floating point value, IEEE format
  166.  
  167. 5) ASMLIB GRAPHICS subroutines assume DS:@DATA
  168.  
  169. HOW DO I USE ALL THIS NEAT STUFF?
  170.  
  171. Any program that calls an ASMLIB subroutine must declare the subroutine as
  172. an external procedure, like this:
  173.  
  174. extrn  gedit:proc        ; tell assembler to assume that GEDIT is an external
  175.                          ; procedure to be linked later
  176.  
  177.  
  178. I also find it handy to make LINK search through ASMLIB for object code,
  179. rather than specifying ASMLIB on the command line.  Do this with the
  180. command
  181.  
  182. includelib asmlib.lib    ; automatic search through ASMLIB for externals
  183.  
  184. in your calling program.  See STARTUP.ASM.  (Note: this may not work with
  185. TASM 2.01 & TLINK.  You will need to specify ASMLIB on the command line.)
  186.  
  187.  
  188. CALLING ASMLIB FROM C PROGRAMS
  189.  
  190. It's easy to call ASMLIB subroutines from C if you follow these simple
  191. rules (Turbo C examples):
  192.  
  193. 1)  Tell your C program that the ASMLIB subroutine is a PASCAL function
  194.     This makes the C compiler convert the subroutine name to upper case
  195.     and supresses the _leading _underscore in the subroutine name.
  196.  
  197.     Example:
  198.     extern  void pascal tprint();
  199.  
  200.  
  201. 2)  In case of naming conflicts (such as strlen), declare the ASMLIB
  202.     subroutine in upper case and use upper case in the C code.
  203.  
  204.     Example:
  205.     extern  void pascal STRLEN();
  206.     .
  207.     .
  208.     .
  209.     _BX = msg;              /* pointer to ASCIIZ string */
  210.     STRLEN();               /* ASMLIB subroutine  */
  211.     string_length = _CX
  212.  
  213.  
  214. 3)  Load the 80x86 registers before calling the ASMLIB subroutine.
  215.  
  216.     Example:
  217.     _DX = 0;               /* upper left corner of screen */
  218.     _AH = 15;              /* bright white */
  219.     _SI = msg;             /* pointer to ASCIIZ string */
  220.     tprint();
  221.  
  222.  
  223. 4)  ASMLIB subroutines using the 8087 will use Turbo C's
  224.     emulation library if re-assembled with the /E option.
  225.  
  226.  
  227. 5)  values in registers returned by ASMLIB subroutines should be used
  228.     or saved immediately; C code executed after calling an ASMLIB
  229.     subroutine may change any of the registers
  230.  
  231.  
  232. 6)  When compiling from within the Turbo C editor, include ASMLIB.LIB
  233.     in your .PRJ file (ASMSMALL.LIB for small model, ASMHUGE.LIB for
  234.     huge model).
  235.  
  236.  
  237. DOCUMENTATION
  238.  
  239. There's alot of stuff in ASMLIB, so I've tried to keep the documentation
  240. succinct.  Here's a general guide to ASMLIB's documentation:
  241.  
  242.  
  243.  
  244. SUBROUTINE:  a brief description
  245. Source:      the source code file (and other subroutines used)
  246.  
  247. Call with:   this tells you what data the subroutine expects
  248.              additional information may be found here
  249. Returns:     tells you what registers and/or flags contain useful info
  250.              Additional lines may include more specific information about
  251.              the register values returned.
  252. Uses:        registers and flags which may be changed
  253. Supports:    particular equipment or operating modes; this will not apply to
  254.              all subroutines.
  255. Example:     an example of how parameters are passed to the subroutine
  256.              and a typical use of the subroutine.
  257.  
  258.  
  259.  
  260. Documentation for ASMLIB subroutines is in the following files:
  261.  
  262. Subroutine      description                                           .DOC file
  263.  
  264. A$EDIT          editor module used by TEdit and GEdit                 INPUT.DOC
  265. ADDF4           adds two float4 values without 80x87                  FLOAT.DOC
  266. ADDF8           adds two float8 values without 80x87                  FLOAT.DOC
  267. ALLOCEMS        allocate memory from Expanded Memory                 EMSXMS.DOC
  268. ALLOCXMS        allocate memory from XMS Extended Memory             EMSXMS.DOC
  269. ANSICOLOR       returns color attribute used by ANSI device driver     TEXT.DOC
  270. BITBLOCKBYTES   calculate bytes required to save a bit block       GRAPHICS.DOC
  271. BITPLANEBYTES   calculate bytes to save a plane of bit block       GRAPHICS.DOC
  272. BLINKOFF        turn blink attributes off                              TEXT.DOC
  273. BLINKON         turn blink attributes on                               TEXT.DOC
  274. BREAKTRAP       initialize Ctrl+Break trap                           SYSTEM.DOC
  275. BREAKRELEASE    de-activate Ctrl+Break trap                          SYSTEM.DOC
  276. BREAKFLAG       public byte flagging a Ctrl+Break keypress           SYSTEM.DOC
  277. C2F             convert degrees Celcius to degrees Fahrenheit         SOLVE.DOC
  278. CHRDEL          delete a character from an ASCIIZ string               DATA.DOC
  279. CHRNDEL         delete a character from an n-length string             DATA.DOC
  280. CIRCLEASPECT    modifies aspect ratio of circle                    GRAPHICS.DOC
  281. CLEARKEY        clears the keyboard's 'type-ahead' buffer             INPUT.DOC
  282. CMPF4           compare two float4 values                             FLOAT.DOC
  283. CMPF8           compare two float8 values                             FLOAT.DOC
  284. COLOR16         calculate color value for 16-color palette           SYSTEM.DOC
  285. COLORATTR       calculates a color attribute byte                      DATA.DOC
  286. CRTINFO         returns video buffer, screen size, etc.                TEXT.DOC
  287. CSET            centers a string in a fixed field                      DATA.DOC
  288. CUBEFITF4       fit a cubic equation to a float4 point series         SOLVE.DOC
  289. CUBEFITF8       fit a cubic equation to a float8 point series         SOLVE.DOC
  290. CUBEFITI2       fit a cubic equation to an integer2 point series      SOLVE.DOC
  291. CUBEFITI4       fit a cubic equation to an integer4 point series      SOLVE.DOC
  292. CURSORCOLOR     enable InColor palette, set cursor color               TEXT.DOC
  293. CURSOROFF       make hardware cursor invisible at present location     TEXT.DOC
  294. CURSORON        move cursor to (row, col) and update cursor shape      TEXT.DOC
  295. DAYNAME         returns ASCII string for day number                    DATA.DOC
  296. DEFGMODE        ASMLIB uses system graphics mode (default)         GRAPHICS.DOC
  297. DEG2RAD         convert degrees of arc to radians                     SOLVE.DOC
  298. DISKWP          determines if a floppy disk is writable                DISK.DOC
  299. DIVI2           divide one I2 number by another, returns f4 quotient  FLOAT.DOC
  300. DOSALLOC        dynamic memory allocation                            SYSTEM.DOC
  301. DOTBAK          changes a file to a .BAK file                          DISK.DOC
  302. DRAWCIRCLE      draw a circle                                      GRAPHICS.DOC
  303. DRAWBOX         draw a rectangle on a graphics screen              GRAPHICS.DOC
  304. DRAWLINE        draw a line on a graphics screen                   GRAPHICS.DOC
  305. DRAWMODE        public byte modifying ASMLIB graphics drawing mode GRAPHICS.DOC
  306. EMGET           copy data from Expanded Memory to system RAM         EMSXMS.DOC
  307. EMPUT           copy data from system RAM to Expanded Memory         EMSXMS.DOC
  308. EMSFREE         determine available EMS memory                       EMSXMS.DOC
  309. EMSTOTAL        determine total EMS memory installed                 EMSXMS.DOC
  310. ENDPROG         determine size of program                            SYSTEM.DOC
  311. EXENAME         determine full path and name of executing program    SYSTEM.DOC
  312.  
  313. F2C             convert degrees Fahrenheit to degrees Celcius         SOLVE.DOC
  314. F4TOF8          converts float4 value to float8 format                FLOAT.DOC
  315. F4TOI2          converts float4 value to an integer                   FLOAT.DOC
  316. F4TOI4          converts float4 value to a long integer               FLOAT.DOC
  317. F8TOF4          converts float8 value to float4 format                FLOAT.DOC
  318. FACTORIAL       calculate the factorial of an integer                 SOLVE.DOC
  319. FARALLOC        allocates memory from a far heap                     SYSTEM.DOC
  320. FARFREE         releases memory allocated by FARALLOC                SYSTEM.DOC
  321. FARINIT         initializes a far heap                               SYSTEM.DOC
  322. FARREALLOC      re-sizes a memory block in a far heap                SYSTEM.DOC
  323. FCLOSE          close a file managed by ASMLIB buffered I/O system     DISK.DOC
  324. FCOPY           copies one file to another                             DISK.DOC
  325. FCOUNT          counts the number of files matching filespec mask      DISK.DOC
  326. FCREATE         create new file and initialize I/O buffer              DISK.DOC
  327. FEXIST          determines if a file exists                            DISK.DOC
  328. FFLUSH          flushes the DOS file output buffer for specifed handle DISK.DOC
  329. FGET            read specified number of bytes from a file buffer      DISK.DOC
  330. FGETCHR         read a character from a file buffer                    DISK.DOC
  331. FGETSTR         read an ASCII string from a file buffer                DISK.DOC
  332. FILELIST        creates a list of filenames matching filespec mask     DISK.DOC
  333. FILL4, FILL4B   fill a buffer with 4-byte data                         DATA.DOC
  334. FILL8, FILL8B   fill a buffer with 8-byte data                         DATA.DOC
  335. FILLAREA        fills an irregular area on a graphics screen       GRAPHICS.DOC
  336. FILLBOX         draw a filled rectangle on a graphics screen       GRAPHICS.DOC
  337. FILLPATTERN     define an optional pattern for FillArea & FillBox  GRAPHICS.DOC
  338. FINDDATE        returns date of file found with FindFirst/FindNext     DISK.DOC 
  339. FINDFIRST       find first file matching filespec mask                 DISK.DOC
  340. FINDMONO        determine if monochrome monitor is installed         SYSTEM.DOC
  341. FINDNEXT        find next file matching filespec mask                  DISK.DOC
  342. FINDTIME        returns time of file found with FindFirst/FindNext     DISK.DOC
  343. FLOPPIES        determines the number of floppy drives installed     SYSTEM.DOC
  344. FLOPPYTYPE      determines the type of floppy drive installed        SYSTEM.DOC
  345. FOPEN           open a file and initilaize buffered I/O                DISK.DOC
  346. FORCEGMODE      force ASMLIB to use a graph mode                   GRAPHICS.DOC
  347. FPRIMEI2        calculates the derivative of a polynomial function    SOLVE.DOC
  348. FPRIMEF4        calculates the derivative of a polynomial function    SOLVE.DOC
  349. FPUT            write specified data to output file buffer             DISK.DOC
  350. FPUTCHR         writes a character to output file buffer               DISK.DOC
  351. FPUTCRLF        writes a CR+LF pair to output file buffer              DISK.DOC
  352. FPUTSTR         writes a string to output file buffer                  DISK.DOC
  353. FREEEMS         release Expanded Memory handle                       EMSXMS.DOC
  354. FREEXMS         release XMS Extended Memory handle                   EMSXMS.DOC
  355. FSEEK           move file pointer for file opened by FOPEN             DISK.DOC
  356. FSIZE           determines the size of an open file                    DISK.DOC
  357. FSTRISTR        searches for a string in a disk file (case-insensetive)DATA.DOC
  358. FSTRSTR         searches for a string in a disk file (case-sensetive)  DATA.DOC
  359. FVALUE          calculate future value of an even cash flow           SOLVE.DOC
  360.  
  361. GBASESEG        change ASMLIB graphics default base segment        GRAPHICS.DOC
  362. GCENTER         centers a string on a graphics screen              GRAPHICS.DOC
  363. GCLEAR          clears the active portion of a graphics screen     GRAPHICS.DOC
  364. GCOLOR          establish color used by ASMLIB graphics            GRAPHICS.DOC
  365. GCOPY           copies one page of graphics memory to another      GRAPHICS.DOC
  366. GCURSOR         simulate text-mode cursor on graphics screen       GRAPHICS.DOC
  367. GEDIT           string editor for graphics modes                      INPUT.DOC
  368. GETBITBLOCK     saves a portion of a graphics screen in memory     GRAPHICS.DOC
  369. GETBITPLANE     saves one plane of a bit block in memory           GRAPHICS.DOC
  370. GETCMD          isolates multiple command line parameters              DATA.DOC
  371. GETCPU          determines the computer's CPU chip                   SYSTEM.DOC
  372. GETCRT          determine active monitor                             SYSTEM.DOC
  373. GETDOT          determine pixel value on graphics screen           GRAPHICS.DOC
  374. GETKEY          returns next key pressed                              INPUT.DOC
  375. GETSCREEN       save screen image in memory to restore later           TEXT.DOC
  376. GETVIEW         returns a pointer to graphics view area data       GRAPHICS.DOC
  377. GLOAD           loads a graphics screen saved by GSave             GRAPHICS.DOC
  378. GPAGE           changes active and displayed graphics page         GRAPHICS.DOC
  379. GPICKF          select a filename from a list (graphics mode)         INPUT.DOC
  380. GPICKSTR        select a string from a list (graphics mode)           INPUT.DOC
  381. GPRINT          prints ASCIIZ string on a graphics screen          GRAPHICS.DOC
  382. GPRINTDOWN      prints ASCIIZ string vertically on graph screen    GRAPHICS.DOC
  383. GPRINTDOWNX     print string vertically on graph screen, 2x width  GRAPHICS.DOC
  384. GPRINTDOWN2X    print string vertically on graph screen, 2x size   GRAPHICS.DOC
  385. GPRINTUP        prints ASCIIZ string vertically on graph screen    GRAPHICS.DOC
  386. GPRINTUPX       print string vertically on graph screen, 2x width  GRAPHICS.DOC
  387. GPRINTUP2X      print string vertically on graph screen, 2x sixe   GRAPHICS.DOC
  388. GPRINTX         print string on a graphics screen, double width    GRAPHICS.DOC
  389. GPRINT2X        print string on a graphics screen, double size     GRAPHICS.DOC
  390. GSAVE           saves a graphics screen as a disk file             GRAPHICS.DOC
  391. GUCURSOR        simulate underscore cursor on graphics screen      GRAPHICS.DOC
  392. HALLOC          allocates memory from near heap                      SYSTEM.DOC
  393. HFREE           releases memory allocated by HALLOC                  SYSTEM.DOC
  394. HGRAPH          establish Hercules graphics mode using two pages       MODE.DOC
  395. HGRAPH0         establish Hercules graphics mode using one page        MODE.DOC
  396. HIDEMOUSE       make mouse cursor disappear                           INPUT.DOC
  397. HINIT           initializes near heap                                SYSTEM.DOC
  398. HMAX            determines maximum block size available in near heap SYSTEM.DOC
  399. HRAM8043        establish 80-column, 43-row RamFont mode               MODE.DOC
  400. HRAM9025        establish 90-column, 25-row RamFont mode               MODE.DOC
  401. HRAM9043        establish 90-column, 43-row RamFont mode               MODE.DOC
  402. HREALLOC        re-sizes a memory block in the near heap             SYSTEM.DOC
  403. HSCROLL         scrolls a portion of the screen left or right          TEXT.DOC
  404. HTEXT           establish Hercules text mode                           MODE.DOC
  405.  
  406. I2TOF4          convert a 2-byte integer to float4 format             FLOAT.DOC
  407. I2TOSTR         convert a 2-byte integer to an ASCIIZ string           DATA.DOC
  408. I4TOF4          convert a 4-byte integer to float4 format             FLOAT.DOC
  409. I4TOSTR         convert a 4-byte integer to an ASCIIZ string           DATA.DOC
  410. ISALPHA         determines if a keycode returned by GetKey is A - z   INPUT.DOC
  411. ISANSI          determines if ANSI is loaded and active              SYSTEM.DOC
  412. ISATT           determines if ATT 6300 display card is installed     SYSTEM.DOC
  413. ISDIGIT         determines if a keycode returned by GetKey is 0 - 9   INPUT.DOC
  414. ISEMS           determines if an EMS driver is loaded                EMSXMS.DOC
  415. ISEVGA          determines if an EGA or VGA is installed             SYSTEM.DOC
  416. ISHERC          determine if a Hercules card is installed            SYSTEM.DOC
  417. ISLOWER         determines if a keycode returned by GetKey is a - z   INPUT.DOC
  418. ISMOUSE         determines if a mouse is installed                   SYSTEM.DOC
  419. ISSEVGA         determines if a Super EGA or Super VGA is installed  SYSTEM.DOC
  420. ISUPPER         determines if a keycode returned by GetKey is A - Z   INPUT.DOC
  421. ISXMS           determines if an XMS driver is loaded                EMSXMS.DOC
  422. INVF4           calculate the inverse of a float4 value               FLOAT.DOC
  423. JANEIN          German language version of YesNo                      INPUT.DOC
  424. KEYIFWAITING    returns first key if one waiting in keyboard buffer   INPUT.DOC
  425. KEYORBUTTON     returns either keypress or mouse button press         INPUT.DOC
  426. KEYWAITING      determines if a key is waiting in keyboard buffer     INPUT.DOC
  427. LINEFITF4       fit a line equation to point series                   SOLVE.DOC
  428. LINEFITF8       fit a line equation to point series                   SOLVE.DOC
  429. LINEFITI2       fit a line equation to point series                   SOLVE.DOC
  430. LINEFITI4       fit a line equation to point series                   SOLVE.DOC
  431. LINEPATTERN     defines an optional pattern to use with DrawLine   GRAPHICS.DOC
  432. LOWDS2HI        convert segment:offset address to lowest offset        DATA.DOC
  433. LOWES2HI        convert segment:offset address to lowest offset        DATA.DOC
  434. LSET            left-justifies a string in a field                     DATA.DOC
  435. LTRIM           removes leading blanks from an ASCIIZ string           DATA.DOC
  436. MATHCHIP        determine if 80x87 math coprocessor is installed     SYSTEM.DOC
  437. MAXF4, MAXF4B   determine maximum value in a real number array        FLOAT.DOC
  438. MAXF8, MAXF8B   determine maximum value in a real number array        FLOAT.DOC
  439. MAXI2, MAXI2B   determine maximum value in integer array               DATA.DOC
  440. MAXI4, MAXI4B   determine maximum value in long integer array          DATA.DOC
  441. MAXU2, MAXU2B   determine maximum value in unsigned integer array      DATA.DOC
  442. MAXU4, MAXU4B   determine maximum value in unsigned long integer array DATA.DOC
  443. MENUOPTION      define options for PullDown menu system               INPUT.DOC
  444. MINF4, MINF4B   determine minimum value in a real number array        FLOAT.DOC
  445. MINF8, MINF8B   determine minimum value in a real number array        FLOAT.DOC
  446. MINI2, MINI2B   determine minimum value in integer array               DATA.DOC
  447. MINI4, MINI4B   determine minimum value in long integer array          DATA.DOC
  448. MINU2, MINU2B   determine minimum value in unsigned integer array      DATA.DOC
  449. MINU4, MINU4B   determine minimum value in unsigned long integer array DATA.DOC
  450. MODECOLOR       switch system to color monitor or color text mode      MODE.DOC
  451. MODEMONO        switch system to monochrome monitor or mono text mode  MODE.DOC
  452. MODE13225       switches supported systems to 132-column 25-row mode   MODE.DOC
  453. MODE13243       switches supported systems to 132-column 43-row mode   MODE.DOC
  454. MODE43          switch EGA to 80x43 text mode or VGA to 80x50 text     MODE.DOC
  455. MONTHNAME       returns ASCII string for month given month number      DATA.DOC
  456.  
  457. MOUSEINIT       determines if a mouse is installed                   SYSTEM.DOC
  458. MOUSELIMIT      limit mouse's range on screen                         INPUT.DOC
  459. MOUSEPOS        position mouse on the screen                          INPUT.DOC
  460. MOUSESTATUS     determine mouse location & buttons pressed            INPUT.DOC
  461. MRESTORE        restore previously saved mouse state                 SYSTEM.DOC
  462. MSAVE           save mouse state                                     SYSTEM.DOC
  463. MULF4           multiplies two float4 values without 80x87            FLOAT.DOC
  464. MULF4TEN        multiplies a float4 value by 10.0 without 80x87       FLOAT.DOC
  465. MULF8           multiplies two float8 values without 80x87            FLOAT.DOC
  466. MULF8TEN        multiplies a float8 value by 10.0 without 80x87       FLOAT.DOC
  467. MWBORDER        draw border around window opened by MWOPEN         MULTIWIN.DOC
  468. MWCENTER        center a string in a window opened by MWOPEN       MULTIWIN.DOC
  469. MWCLEAR         clear a window opened by MWOPEN                    MULTIWIN.DOC
  470. MWCLOSE         close window opened with MWOPEN and release buffer MULTIWIN.DOC
  471. MWCLOSEALL      close all open windows and release window buffers  MULTIWIN.DOC
  472. MWDEFAULT       change MWOPEN default window status                MULTIWIN.DOC
  473. MWDISPLAY       display all unhidden windows in multiwindow system MULTIWIN.DOC
  474. MWHIDE          hide window in multiwindow display system          MULTIWIN.DOC
  475. MWHIDEALL       hide all windows in multiwindow display system     MULTIWIN.DOC
  476. MWINIT          initialize multi-window base screen                MULTIWIN.DOC
  477. MWNOBORDER      set "no border" bit in window status byte          MULTIWIN.DOC
  478. MWNOSHADOW      disable "shadow" effect for selected window        MULTIWIN.DOC
  479. MWOPEN          open a window in multi-window system               MULTIWIN.DOC
  480. MWPRINT         print string in window opened by MWOPEN            MULTIWIN.DOC
  481. MWPRINTCE       print string in window and clear to edge of window MULTIWIN.DOC
  482. MWSELECT        determine window visible at screen coordinates     MULTIWIN.DOC
  483. MWSHADOW        enable "shadow" effect for selected window         MULTIWIN.DOC
  484. MWTOP           move selected window to top of overlapping windows MULTIWIN.DOC
  485. MWUNHIDE        unhide window in multiwindow display system        MULTIWIN.DOC
  486. MWUNHIDEALL     unhide all windows in multiwindow display system   MULTIWIN.DOC
  487. NFORMAT         formats a numeric string                               DATA.DOC
  488. NORMF4, NORMF4B normalize a float4 data series                        SOLVE.DOC
  489. NORMF8, NORMF8B normalize a float8 data series                        SOLVE.DOC
  490. NPVALUE         calculate net present value of an uneven cash flow    SOLVE.DOC
  491. OUINON          French language version of YesNo                      INPUT.DOC
  492. PALETTE16       update 16-color palette registers                    SYSTEM.DOC
  493. PAINT           change all color attributes on a text-mode screen      TEXT.DOC
  494. PATH            returns a PATH from the program's enviornment block  SYSTEM.DOC
  495. PAYMENT         calculate payment required given n, i, pv, fv         SOLVE.DOC
  496. PICKF           select filename from list                             INPUT.DOC
  497. PICKSTR         select one from a list of strings                     INPUT.DOC
  498. PSOLVEF4        solve a polynomial equation for y, given x            SOLVE.DOC
  499. PSOLVEF8        solve a polynomial equation for y, given x            SOLVE.DOC
  500. PSOLVEI2        solve a polynomial equation for y, given x            SOLVE.DOC
  501. PSOLVEI4        solve a polynomial equation for y, given x            SOLVE.DOC
  502. PULLDOWN        pull-down menu system; text mode                      INPUT.DOC
  503. PUTBITBLOCK     restores bit block saved by GetBitBlock            GRAPHICS.DOC
  504. PUTBITPLANE     restores bit plane saved by GetBitPlane            GRAPHICS.DOC
  505. PUTDOT          set a pixel on a graphics screen                   GRAPHICS.DOC
  506. PUTSCREEN       restores screen image saved by GetScreen               TEXT.DOC
  507. PVALUE          calculate present value of an even cash flow          SOLVE.DOC
  508.  
  509. QFNAME          given a partial filename, returns full path+filename   DISK.DOC
  510. QUADFITF4       fit a quadratic equation to a data series             SOLVE.DOC
  511. QUADFITF8       fit a quadratic equation to a data series             SOLVE.DOC
  512. QUADFITI2       fit a quadratic equation to a data series             SOLVE.DOC
  513. QUADFITI4       fit a quadratic equation to a data series             SOLVE.DOC
  514. RAD2DEG         convert radians to degrees of arc                     SOLVE.DOC
  515. RANDOM          generates a near-random number                         DATA.DOC
  516. RECOLOR         change selected color attributes on a text-mode screen TEXT.DOC
  517. RESETVIEW       restores defalt view area on active graphics page  GRAPHICS.DOC
  518. RSET            right-justifies a string in a field                    DATA.DOC
  519. RTRIM           removes trailing blanks from an ASCIIZ string          DATA.DOC
  520. SAMP2POP        stddev option                                         SOLVE.DOC
  521. SCALEF4         scales a float4 value by an integer power of 2        FLOAT.DOC
  522. SCALEF8         scales a float8 value by an integer power of 2        FLOAT.DOC
  523. SCREENMEM       calculates bytes required to save screen image         TEXT.DOC
  524. SHOWGPAGE       change graphics page displayed on screen           GRAPHICS.DOC
  525. SHOWGPLANE      show one or more planes of 16-color EGA/VGA screen GRAPHICS.DOC
  526. SHOWMOUSE       make mouse cursor visible                             INPUT.DOC
  527. SHOWTPAGE       change video page shown on screen                      TEXT.DOC
  528. SINO            Spanish language version of YesNo                     INPUT.DOC
  529. SMALLTEXT       change GPrint default to 8x8 characters            GRAPHICS.DOC
  530. SNOWOFF         disables CGA snow control                              TEXT.DOC
  531. SNOWON          enables CGA snow control (ASMLIB default)              TEXT.DOC
  532. SORTF4HI        sorts the values in a float4 array, highest first     FLOAT.DOC
  533. SORTF4LO        sorts the values in a float4 array, lowest first      FLOAT.DOC
  534. SORTI4HI        sorts the values in an array of 4-byte integers        DATA.DOC
  535. SORTI4LO        sorts the values in an array of 4-byte integers        DATA.DOC
  536. STDDEVF4        calculate standard deviation of float4 series         SOLVE.DOC
  537. STDDEVF8        calculate standard deviation of float8 series         SOLVE.DOC
  538. STDDEVI2        calculate standard deviation of integer2 series       SOLVE.DOC
  539. STDDEVI4        calculate standard deviation of integer4 series       SOLVE.DOC
  540. STDTEXT         restore GPrint default characters                  GRAPHICS.DOC
  541. STR2VBUF        copies a string to the video buffer                    TEXT.DOC
  542. STRCPY          copy an ASCIIZ string to existing buffer               DATA.DOC
  543. STRNCPY         copy CX bytes of an ASCII string to existing buffer    DATA.DOC
  544. STRTOI2         converts an ASCIIZ string to an equivalent integer     DATA.DOC
  545. STRNTOI2        converts n bytes of a string to an equivalent integer  DATA.DOC
  546. STRTOI4         converts an ASCII string to equivalent long integer    DATA.DOC
  547. STRNTOI4        converts n bytes of string to equivalent long integer  DATA.DOC
  548. STRCPY          copies an ASCIIZ string to an existing buffer          DATA.DOC
  549. STRNCPY         copies CX bytes of a string to an existing buffer      DATA.DOC
  550. STRCAT          catenates (adds) two strings                           DATA.DOC
  551. STRCHR          searches for a specified character in a string         DATA.DOC
  552. STRDUP          duplicates an ASCIIZ string                            DATA.DOC
  553. STRINS          combines string0 and string1 at specified position     DATA.DOC
  554. STRIPCHR        removes selected character from a string               DATA.DOC
  555. STRISTR         finds a substring in a string, case insensetive        DATA.DOC
  556. STRLEN          determines the length of an ASCIIZ string              DATA.DOC
  557. STRLWR          change upper-case characters in a string to lower      DATA.DOC
  558. STRNCHR         searches n bytes of a string for for a character       DATA.DOC
  559. STRNDUP         duplicates n characters of a string                    DATA.DOC
  560. STRNLWR         changes n bytes in string to lower case                DATA.DOC
  561.  
  562. STRNRCHR        finds the last character matching AL in n bytes        DATA.DOC
  563. STRNREV         reverses n bytes of an ASCIIZ string                   DATA.DOC
  564. STRNSET         sets n characters in a string to specified character   DATA.DOC
  565. STRNUPR         changes n bytes in string to upper case                DATA.DOC
  566. STRREV          reverses all characters in an ASCIIZ string            DATA.DOC
  567. STRRCHR         finds the last byte in an ASCIIZ string matching AL    DATA.DOC
  568. STRRSTR         finds the last substring in a string, case sensetive   DATA.DOC
  569. STRSET          sets all characters in a string to specified character DATA.DOC
  570. STRSPACE        creates a new string of space characters               DATA.DOC
  571. STRSTR          finds a substring in a string, case sensetive          DATA.DOC
  572. STRUPR          changes lower-case characters in string to upper case  DATA.DOC
  573. SUBF4           subtract a float4 value from another                  FLOAT.DOC
  574. SUBF8           subtract a float8 value from another                  FLOAT.DOC
  575. SUPER13         use undocumented 320x400 256-color VGA mode, 2 pages   MODE.DOC
  576. SUPER13A        use undocumented 360x480 256-color VGA mode            MODE.DOC
  577. SVGA16          set 800x600 or 1024x768 16-color mode                  MODE.DOC
  578. SVGA256         set 256-color mode up to 1024x768 pixels               MODE.DOC
  579. SWAPB           swaps data areas                                       DATA.DOC
  580. SYSTEM          executes a second copy of COMMAND.COM                SYSTEM.DOC
  581. TCENTER         prints a string on the screen, centered horizontally   TEXT.DOC
  582. TCOPY           copies one page of text-mode video memory to another   TEXT.DOC
  583. TCLEAR          clears text-mode screen with specified color attribute TEXT.DOC
  584. TEDIT           string editor for text modes                          INPUT.DOC
  585. TFILL           fill text-mode screen with specified character & color TEXT.DOC
  586. TGETCHR         read character and color attribute from text screen    TEXT.DOC
  587. TLOAD           loads a screen image disk file saved by TSave          TEXT.DOC
  588. TMOUSELIMIT     limit mouse's range of motion on text screen          INPUT.DOC
  589. TOLOWER         converts keycode from GetKey to lower case            INPUT.DOC
  590. TOUPPER         converts keycode from GetKey to upper case            INPUT.DOC
  591. TPAGE           changes active page and shows active page              TEXT.DOC
  592. TPRINT          print ASCIIZ string directly to video buffer           TEXT.DOC
  593. TPRINTCE        print ASCIIZ string & clear to end of line             TEXT.DOC
  594. TPRINTL         print directly to video buffer, lower case             TEXT.DOC
  595. TPRINTU         print directly to video buffer, upper case             TEXT.DOC
  596. TSAVE           saves a screen image as a disk file                    TEXT.DOC
  597.  
  598. UCURSORON       move cursor to (row, col), change to underscore        TEXT.DOC
  599. USE32K, USE64K  Hercules memory configuration control                SYSTEM.DOC
  600. USEGPAGE        changes active graphics page                       GRAPHICS.DOC
  601. USETPAGE        establish ASMLIB's active page                         TEXT.DOC
  602. VIEWLIMIT       determine current mode's maximum dimensions        GRAPHICS.DOC
  603. VSCROLL         scroll a portion of the screen up or down              TEXT.DOC
  604. WCLEAR          clears a rectangular portion of a text-mode screen     TEXT.DOC
  605. WFILL           fills a window of a text-mode screen w/specified char  TEXT.DOC
  606. WFRAME          draws a box on a text-mode screen                      TEXT.DOC
  607. WPAINT          replaces all color attributes in screen window         TEXT.DOC
  608. WPRINT          print directly to a window with word wrap              TEXT.DOC
  609. WRECOLOR        changes selected color attributes in screen window     TEXT.DOC
  610. WRESTORE        restore window saved by WSAVE                          TEXT.DOC
  611. WSAVE           save screen window in memory                           TEXT.DOC
  612. WSIZE           calculates the memory required to save screen window   TEXT.DOC
  613. XMGET           copy data from XMS Extended Memory to system RAM     EMSXMS.DOC
  614. XMPUT           copy data from system RAM to XMS Extended Memory     EMSXMS.DOC
  615. XMODE16         use super EGA /super VGA 16-color graphics modes       MODE.DOC
  616. XMODECLEAR      reset ASMLIB graphics mode flags                       MODE.DOC
  617. XMSFREE         determine available XMS memory                       EMSXMS.DOC
  618. XMSCONTIG       determine largest contiguous XMS memory block        EMSXMS.DOC
  619. XTOTHEY         calculate X to the Y power                            SOLVE.DOC
  620. YESNO           wait for 'Y' or 'N' key to be pressed                 INPUT.DOC
  621.